Skip to content

Integrations: one status per product, from every way the team reaches it - #672

Merged
nambok merged 2 commits into
mainfrom
integrations-one-status
Nov 14, 2026
Merged

nambok merged 2 commits into
mainfrom
integrations-one-status

Conversation

@nambok

@nambok nambok commented Nov 14, 2026

Copy link
Copy Markdown
Collaborator

Summary

One status per product on Settings, Integrations, worked out from every record the team has for it (connector, Jira app, Knowledge sign-in, vendor server, app sign-in, plugin key). A product with a working sign-in never reads "Not connected". Sign-ins in progress always end.

Changes

  • integration_status: every way a team reaches a product is a path; the card says what it is used for and, for a use nothing serves, either that the working sign-in can serve it (one switch) or exactly what is missing with one action.
  • Confluence, Notion, Sanity, Figma, Sentry and the rest of the catalog use it; Google Drive gets a card once signed in. Cards carry uses, how, connected_by, connected_at.
  • Confluence can be read in runs with the Atlassian sign-in made for Knowledge (via: "sign_in", admin switch, read only).
  • A never-connected record for a vendor server the catalog no longer offers is listed as unused, not as a second sign-in. Nothing is deleted.
  • Sign-ins: a new one ends the one it replaces, DELETE /api/mcp-servers/{id}/sign-in cancels, expired ones are swept on page load, a start returns server_id and expires_in.
  • Merged current main.

Verification

  • cargo fmt --check --all, cargo clippy --workspace --all-targets -- -D warnings, cargo test --workspace pass locally.
  • Unit tests cover the status rule (every combination of paths for Confluence, catalog products, broken and renewing sign-ins).
  • Not verified against a live team.

A team signed in to Confluence for Knowledge saw "Not connected" on the
Confluence card: the card was built from saved connectors and the Jira
app only, and never looked at the Knowledge sign-in (kept apart from MCP
servers, so the page's server list leaves it out).

- integration_status: every way a team reaches a product is a path; the
  card is worked out from all of them. Connected when any use works, with
  what it is used for; a use nothing serves is ready when a working
  sign-in can serve it with no second sign-in, or says exactly what it
  needs; never "not connected" while a path works.
- Confluence, Notion, Sanity, Figma, Sentry and the rest of the catalog
  use it; Google Drive gets a card once the team signed in. Cards carry
  uses, how, connected_by and connected_at.
- Confluence can be read during runs with the Atlassian sign-in made for
  Knowledge (a connection with via "sign_in", switched on by an admin):
  same scopes, no second sign-in, reading only.
- A record for a vendor's server the catalog no longer offers that was
  never connected is listed as unused, not shown as a second sign-in.
  Nothing is deleted.
- Sign-ins in progress: a new one ends the attempt it replaces, a cancel
  route ends one at once, expired ones are swept when the page loads, and
  a sign-in start says how long it can still be finished.
@nambok
nambok merged commit c6ac9b4 into main Nov 14, 2026
10 checks passed
@nambok
nambok deleted the integrations-one-status branch November 14, 2026 03:29
nambok added a commit that referenced this pull request Nov 14, 2026
Brings in #672 (GitHub request budget, Integrations) and #671
(dependency updates decided and proven). Incident ids au (#671) and av
(this branch) are distinct and both kept; the worker tick keeps the
lesson cleanup and runs the skill sweep under its GitHub budget.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant